package com.yunke.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 分销提现申请DTO
 *
 * @author yunke
 * @since 1.0.0
 */
@Data
@Schema(description = "分销提现申请DTO")
public class YunkeDistributorWithdrawDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "申请提现金额")
    @NotNull(message = "申请提现金额不能为空")
    @DecimalMin(value = "0.01", message = "申请提现金额必须大于0")
    private BigDecimal applyAmount;

    @Schema(description = "提现账户类型（1支付宝 2微信 3银行卡）")
    @NotNull(message = "提现账户类型不能为空")
    private Integer accountType;

    @Schema(description = "提现账户信息")
    private String accountInfo;

    @Schema(description = "提现户名")
    private String accountName;

    @Schema(description = "备注信息")
    private String remark;

    @Schema(description = "支付密码")
    private String payPassword;
} 